package com.clannad.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clannad.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author clannad
 * @since 2022-07-31
 */
public interface EduTeacherService extends IService<EduTeacher> {

    List<EduTeacher> getTeacherIndex();

    boolean updateTeacher(EduTeacher teacher);

    boolean saveTeacher(EduTeacher teacher);

    boolean removeTeacher(String id);

    Map<Object, Object> getTeacherFrontList(Page<EduTeacher> page1);
}
